


<?php

	
	

	/*
	 * ============================================== Get List of Topic ======================================
	 * Author			: Nguyem Hoang Quan
	 * Created Date		: 23/08/2011
	 * Modified Date	: 23/08/2011
	 */

	/*
	 * Get list of Recommendation with name of parent field
	 */
	
	  function JO_14_count($cmd,$sea,$sea2,$sea3,$sea4){
		$s_SQLCommand = "call JO_14_count('$cmd','$sea','$sea2','$sea3','$sea4');";
		
		
		$rs_result = DataProvider::executeSQL($s_SQLCommand);
		return $rs_result; 
	}
	 function JO_14_search_count($loai,$sea,$sea2){
		$s_SQLCommand = "call JO_14_search_count('$loai','$sea','$sea2');";
		
		$rs_result = DataProvider::executeSQL($s_SQLCommand);
		return $rs_result; 
	}
	function JO_14_search_pagelist($loai,$sea,$vt,$limit,$sea2){
		
		$s_SQLCommand = "call JO_14_search_pagelist('$loai','$sea',$vt,$limit,'$sea2');";
		
		$rs_result = DataProvider::executeSQL($s_SQLCommand);
		return $rs_result; 
	}
	function JO_14_getday_count($from,$to,$sea2){
		
		$s_SQLCommand = "call JO_14_getday_count('$from','$to','$sea2');";
	
		$rs_result = DataProvider::executeSQL($s_SQLCommand);
		return $rs_result; 
	}
	function JO_14_getday($from,$to,$vt,$limit,$sea2){
		
		$s_SQLCommand = "call JO_14_getday('$from','$to',$vt,$limit,'$sea2');";
		
		$rs_result = DataProvider::executeSQL($s_SQLCommand);
		return $rs_result; 
	}
	
	
?>